﻿component accessors="true" extends="controllerbase" {
	property organization;
	this.entityObj = "organization";

	public void function list(rc){
		rc.json = variables.organization.list();
		variables.fw.renderData('json', rc.json);
	}
	
	public void function getFlatTree(rc){
		rc.json = variables.organization.getFlatTree();
		variables.fw.renderData('json', rc.json);
	}
}